package best.driver.android.Utils;

import android.os.Handler;

public class LoginCallback {
    private static Runnable runnable;
    private static Handler handler = new Handler();

    public static void setCallback(Runnable run) {
        runnable = run;
    }

    public static void execute() {
        if (null != runnable) {
            handler.postDelayed(runnable, 100);
            runnable = null;
        }
    }
}
